package com.keshe.member.dao;

import com.keshe.member.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
// import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
=======
import org.apache.ibatis.annotations.Mapper;

/**
 *
 *
>>>>>>> order
 * @author yefansijia
 * @email 1121207699@qq.com
 * @date 2023-01-02 13:31:39
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {
    /**
     * 根据用户名查询用户
     */
    UserEntity queryByAccount(String account);

    /**
     * 根据手机号查询用户
     */
    UserEntity queryByPhone(String phone);

    /**
     * 根据邮箱查询用户
     */
    UserEntity queryByEmail(String email);

}
